package com.jk.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/***
 * @ClassName: TestPO
 * @Description:TODO
 * @Auther: 景晨璇
 * @Date: 2021/6/29 14:36
 * @version : V1.0
 */
@Data
@TableName(value = "t_user")
@ApiModel("测试实体类")
public class TestPO {
    @TableId(value = "uid",type = IdType.AUTO)
    @ApiModelProperty("编号")
    private Integer uid;
    @TableField(value = "uname")
    @ApiModelProperty("用户姓名")
    private String uname;
    @TableField(value = "userpass")
    @ApiModelProperty("用户密码")
    private String userpass;
    @TableField(value = "deptid")
    @ApiModelProperty("部门id")
    private Integer deptid;
}
